import request from '@/utils/request'

// 查询户管理列表
export function listDoor(query) {
  return request({
    url: '/fund/costBatchDetail/list',
    method: 'get',
    params: query
  })
}

// 查询户管理列表
export function listBatchDetail(query) {
  return request({
    url: '/fund/costBatchDetail/listBatchDetail',
    method: 'get',
    params: query
  })
}


export function insertCostDetail(houseIds,batchId) {
  return request({
    url: '/fund/costBatchDetail/insertCostDetail/'+houseIds+"/"+batchId,
    method: 'get'
  })
}


export function deleteCostDetail(houseIds,batchId) {
  return request({
    url: '/fund/costBatchDetail/deleteCostDetail/'+houseIds+"/"+batchId,
    method: 'get'
  })
}


